SftTree/OCX 7.0

SftTreeHeader.OverrideTheme Property

Softel vdm, Inc.

Defines whether the column header's color definitions override Windows themes.

Syntax       

 

Get

VB.NET

Boolean = object.OverrideTheme  As Boolean

VB

Boolean = object.OverrideTheme  As Boolean

C#.NET

bool Boolean = object.OverrideTheme;

VC++

VARIANT_BOOL Boolean = object->OverrideTheme;
VARIANT_BOOL Boolean = object->GetOverrideTheme();

C

HRESULT object->get_OverrideTheme(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.OverrideTheme   : WordBool;

Put

VB.NET

object.OverrideTheme = Boolean  As Boolean

VB

object.OverrideTheme = Boolean  As Boolean

C#.NET

bool object.OverrideTheme = Boolean;

VC++

VARIANT_BOOL object->OverrideTheme = Boolean;
void object->PutOverrideTheme(VARIANT_BOOL Boolean);

C

HRESULT object->put_OverrideTheme(VARIANT_BOOL Boolean);

Delphi

object.OverrideTheme := Boolean   : WordBool;

object

A SftTreeHeader object.

Boolean

Defines whether the column header's color definitions override Windows themes.

Boolean

Description

True

The column header is rendered without Windows themes, if any of the properties Header.BackColor, Header.BackColorDisabled, Header.ForeColor, Header.ForeColorDisabled, Header.SelectBackColor, Header.SelectForeColor are defined.

False

The column header is rendered with Windows themes (based on the UseThemes property).

Comments

The OverrideTheme property defines whether the column header's color definitions override Windows themes.

See Also  SftTreeHeader Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com